<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Role</title>
    <link rel="stylesheet" href="css\zui.css">
    <link rel="stylesheet" href="css/Backrole.css">
</head>
<body>
<h2 class="text-center">工种管理</h2>
<div class="text-right">
    <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#mySmModal" >用户添加</button>
</div>

<table class="table table-bordered text-center" style="margin-top: 50px">
    <tr>
        <td>id</td>
        <td>角色名称</td>
        <td>操作</td>
    </tr>
    <!-- 数据1 -->
    <tbody id="tbody">
<!--    <tr>
        <td>1</td>
        <td>李晔</td>
        <td>
            <button class="btn btn-primary btn-sm">编辑</button>
            <button class="btn btn-danger btn-sm">删除</button>
        </td>
    </tr> -->
    <!-- 数据2 -->
<!--    <tr>
        <td>2</td>
        <td>墨白</td>
        <td>
            <button class="btn btn-primary btn-sm">编辑</button>
            <button class="btn btn-danger btn-sm">删除</button>
        </td>
    </tr> -->
    <!-- 数据3 -->
<!--    <tr>
        <td>3</td>
        <td>┏┛墓┗┓...(((m -__-)m</td>
        <td>
            <button class="btn btn-primary btn-sm">编辑</button>
            <button class="btn btn-danger btn-sm">删除</button>
        </td>
    </tr> -->
    <!-- 数据4 -->
<!--    <tr>
        <td>4</td>
        <td>怡创</td>
        <td>
            <button class="btn btn-primary btn-sm">编辑</button>
            <button class="btn btn-danger btn-sm">删除</button>
        </td>
    </tr> -->
    <!-- 数据5 -->
<!--    <tr>
        <td>5</td>
        <td>刘聪</td>
        <td>
            <button class="btn btn-primary btn-sm">编辑</button>
            <button class="btn btn-danger btn-sm">删除</button>
        </td>
    </tr> -->
</tbody>
</table>
<ul class="pager"  id="myPager" data-ride="pager" data-max-nav-count="4" data-elements="prev_icon,nav,next_icon" ></ul>
<!--幕布-->
<div class="modal fade" id="mySmModal">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">关闭</span></button>
                <h4 class="modal-title">标题</h4>
            </div>
            <div class="modal-body">
                <p>
                <div class="input-control has-icon-left">
                    <input id="rolename" type="text" class="form-control" placeholder="角色名">
                    <label for="rolename" class="input-control-icon-left"><i class="icon icon-user "></i></label>
                </div>
                </p>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal" onclick="cancle()">关闭</button>
                <button type="button" class="btn btn-primary" onclick="backinsert()" id="backinsert">确认</button>
            </div>
        </div>
    </div>
</div>
<!--<%&#45;&#45;幕布&#45;&#45;%>-->
<!--    <%&#45;&#45;幕布&#45;&#45;%>-->
    <div class="modal fade" id="uprole">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">关闭</span></button>
                    <h4 class="modal-title">标题</h4>
                </div>
                <div class="modal-body">
                    <p>
                    <div class="input-control has-icon-left">
                        <input id="text_name" type="text" class="form-control" placeholder="角色名">
                        <label for="text_name" class="input-control-icon-left"><i class="icon icon-user "></i></label>
                    </div>
                    </p>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal" onclick="cancle()">关闭</button>
                    <button type="button" class="btn btn-primary" id="exit" onclick="roleupdate()">确认</button>
                </div>
            </div>
        </div>
    </div>
</body>
<script src="js/jquery-2.1.4.js"></script>
<script src="js/zui.min.js"></script>
<script src="Userjs/Worktype.js"></script>
</html>